package creational.builder;

public class Child {
	private Hair hair;
	private Body body;
	private Head head;
	public Hair getHair() {
		return hair;
	}
	public void setHair(Hair hair) {
		this.hair = hair;
	}
	public Body getBody() {
		return body;
	}
	public void setBody(Body body) {
		this.body = body;
	}
	public Head getHead() {
		return head;
	}
	public void setHead(Head head) {
		this.head = head;
	}
	@Override
	public String toString() {
		return "Child [hair=" + hair + ", body=" + body + ", head=" + head
				+ "]";
	}
}
